package com.xszx.knowledge.mapper;

import com.xszx.knowledge.entity.Doc;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 文档 Mapper 接口
 * </p>
 *
 * @author wencai
 * @since 2023/04/25 10:29
 */
@Mapper
public interface DocMapper extends BaseMapper<Doc> {
    public abstract void updateViewCount(@Param("id") Long id);
    public abstract void updateVoteCount(@Param("id") Long id);
}
